﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Devonline.Core;

/// <summary>
/// 分辨率
/// </summary>
[Description("分辨率")]
public enum Resolution
{
    #region 特殊用途分辨率
    /// <summary>
    /// 128 × 72	9,216	72p	 Custom Small Res
    /// </summary>
    [Display(Name = "Small Res")]
    [Explanation("128x72")]
    SM,
    #endregion

    #region 16:9
    /// <summary>
    /// 256 × 144	36,864	144p	Ultra Low Res
    /// </summary>
    [Display(Name = "Ultra Low Res")]
    [Explanation("256x144")]
    UltraLow,
    /// <summary>
    /// 426 × 240	102,240	240p	Very Low Res
    /// </summary>
    [Display(Name = "Very Low Res")]
    [Explanation("426x240")]
    VeryLow,
    /// <summary>
    /// 640 × 360	230,400	360p	Low Res
    /// </summary>
    [Display(Name = "Low Res")]
    [Explanation("640x360")]
    Low,
    /// <summary>
    /// 854 × 480	410,112	480p	SD
    /// </summary>
    [Display(Name = "SD")]
    [Explanation("854x480")]
    SD,
    /// <summary>
    /// 1280 × 720	921,600	720p	HD
    /// </summary>
    [Display(Name = "HD")]
    [Explanation("1280x720")]
    HD,
    /// <summary>
    /// 1920 × 1080	2,073,600	1080p	Full HD
    /// </summary>
    [Display(Name = "Full HD")]
    [Explanation("1920x1080")]
    FHD,
    /// <summary>
    /// 2560 × 1440	3,686,400	1440p	QHD
    /// </summary>
    [Display(Name = "QHD")]
    [Explanation("2560x1440")]
    QHD,
    /// <summary>
    /// 3840 × 2160	8,294,400	2160p	4K UHD
    /// </summary>
    [Display(Name = "4K UHD")]
    [Explanation("3840x2160")]
    UHD,
    /// <summary>
    /// 7680 × 4320	33,177,600	8K	8K UHD
    /// </summary>
    [Display(Name = "8K UHD")]
    [Explanation("7680x4320")]
    UHD8K,
    #endregion

    #region 4:3
    /// <summary>
    /// 160 x 120	19,200	QQVGA
    /// </summary>
    [Display(Name = "QQVGA")]
    [Explanation("160x120")]
    QQVGA,
    /// <summary>
    /// 320 x 240	76,800	QVGA
    /// </summary>
    [Display(Name = "QVGA")]
    [Explanation("320x240")]
    QVGA,
    /// <summary>
    /// 640 x 480	307,200	VGA
    /// </summary>
    [Display(Name = "VGA")]
    [Explanation("640x480")]
    VGA,
    /// <summary>
    /// 800 x 600	480,000	SVGA
    /// </summary>
    [Display(Name = "SVGA")]
    [Explanation("800x600")]
    SVGA,
    /// <summary>
    /// 1024 x 768	786,432	XGA
    /// </summary>
    [Display(Name = "XGA")]
    [Explanation("1024x768")]
    XGA,
    /// <summary>
    /// 1400 x 1050	1,470,000	SXGA+
    /// </summary>
    [Display(Name = "SXGA")]
    [Explanation("1400x1050")]
    SXGA,
    /// <summary>
    /// 1600 x 1200	1,920,000	UXGA
    /// </summary>
    [Display(Name = "UXGA")]
    [Explanation("1600x1200")]
    UXGA,
    /// <summary>
    /// 2048 x 1536	3,145,728	QXGA	2K
    /// </summary>
    [Display(Name = "QXGA")]
    [Explanation("2048x1536")]
    QXGA,
    /// <summary>
    /// 2880 x 2160	6,220,800		3K UHD
    /// </summary>
    [Display(Name = "3K UHD")]
    [Explanation("2880x2160")]
    UHD_3K,
    /// <summary>
    /// 3840 x 2880	11,059,200		4K UHD
    /// </summary>
    [Display(Name = "4K UHD")]
    [Explanation("3840x2880")]
    UHD_4K,
    /// <summary>
    /// 4096 x 3072	12,582,912	HXGA	4K
    /// </summary>
    [Display(Name = "HXGA 4K")]
    [Explanation("4096x3072")]
    UHD_4K_Plus,
    /// <summary>
    /// 5120 x 3840	19,660,800		5K
    /// </summary>
    [Display(Name = "5K")]
    [Explanation("5120x3840")]
    UHD_5K,
    /// <summary>
    /// 6144 x 4608	28,311,552		6K
    /// </summary>
    [Display(Name = "6K")]
    [Explanation("6144x4608")]
    UHD_6K,
    /// <summary>
    /// 7680 x 5760	44,236,800		8K UHD
    /// </summary>
    [Display(Name = "8K UHD")]
    [Explanation("7680x5760")]
    UHD_8K,
    /// <summary>
    /// 8192 x 6144	50,331,648		8K
    /// </summary>
    [Display(Name = "8K")]
    [Explanation("8192x6144")]
    UHD_8K_Plus
    #endregion
}